package com.pdh.service;

import com.pdh.dao.Impl.StudentDaoImpl;
import com.pdh.dao.StudentDao;
import com.pdh.entity.Student;

import java.util.List;

/**
 * @Author: 彭_德华
 * @Date: 2021-09-16 14:16
 */
public class StudentService {
    StudentDao dao = new StudentDaoImpl();

    public List<Student> list(){
        return dao.getAll();
    }
}
